package com.example.trb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.trb.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Select("select id from user_info where user_id = #{userId}")
    Integer getId(Integer userId);
}
